<?php /*a:0:{}*/ ?>
<div class="form-group col-lg-<?php echo htmlentities((isset($_layout['lg']) && ($_layout['lg'] !== '')?$_layout['lg']:'12')); ?> col-md-<?php echo htmlentities((isset($_layout['md']) && ($_layout['md'] !== '')?$_layout['md']:'12')); ?> col-sm-<?php echo htmlentities((isset($_layout['sm']) && ($_layout['sm'] !== '')?$_layout['sm']:'12')); ?> col-xs-<?php echo htmlentities((isset($_layout['xs']) && ($_layout['xs'] !== '')?$_layout['xs']:'12')); ?> <?php echo htmlentities((isset($extra_class) && ($extra_class !== '')?$extra_class:'')); ?>" id="form_group_<?php echo htmlentities($name); ?>">
    <label class="col-xs-12" for="<?php echo htmlentities($name); ?>"><?php echo htmlentities(htmlspecialchars($title)); ?></label>
    <div class="col-sm-12">
        <table class="table table-bordered" id="table-<?php echo htmlentities($name); ?>">
            <?php if(!(empty($head) || (($head instanceof \think\Collection || $head instanceof \think\Paginator ) && $head->isEmpty()))): ?>
            <thead>
                <?php if(is_array($head) || $head instanceof \think\Collection || $head instanceof \think\Paginator): $i = 0; $__LIST__ = $head;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?>
                <tr>
                    <?php if(is_array($row) || $row instanceof \think\Collection || $row instanceof \think\Paginator): $i = 0; $__LIST__ = $row;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <th style="vertical-align: middle;" <?php if(!(empty($vo['rowspan']) || (($vo['rowspan'] instanceof \think\Collection || $vo['rowspan'] instanceof \think\Paginator ) && $vo['rowspan']->isEmpty()))): ?>rowspan="<?php echo htmlentities($vo['rowspan']); ?>"<?php endif; if(!(empty($vo['colspan']) || (($vo['colspan'] instanceof \think\Collection || $vo['colspan'] instanceof \think\Paginator ) && $vo['colspan']->isEmpty()))): ?>colspan="<?php echo htmlentities($vo['colspan']); ?>"<?php endif; ?>><?php echo (isset($vo['value']) && ($vo['value'] !== '')?$vo['value']:''); ?></th>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </tr>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </thead>
            <?php endif; ?>
            <tbody>
            <?php if(empty($data) || (($data instanceof \think\Collection || $data instanceof \think\Paginator ) && $data->isEmpty())): ?>
            <tr class="empty"><td class="text-center text-muted" colspan="<?php echo htmlentities((isset($cols) && ($cols !== '')?$cols:1)); ?>">暂无数据</td></tr>
            <?php else: if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?>
            <tr>
                <?php if(is_array($row) || $row instanceof \think\Collection || $row instanceof \think\Paginator): $i = 0; $__LIST__ = $row;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <td style="vertical-align: middle; <?php if(is_array($vo["value"])): ?>padding:0;<?php endif; ?>" <?php if(!(empty($vo['rowspan']) || (($vo['rowspan'] instanceof \think\Collection || $vo['rowspan'] instanceof \think\Paginator ) && $vo['rowspan']->isEmpty()))): ?>rowspan="<?php echo htmlentities($vo['rowspan']); ?>"<?php endif; if(!(empty($vo['colspan']) || (($vo['colspan'] instanceof \think\Collection || $vo['colspan'] instanceof \think\Paginator ) && $vo['colspan']->isEmpty()))): ?>colspan="<?php echo htmlentities($vo['colspan']); ?>"<?php endif; ?>>
                <?php if(is_array($vo['value'])): ?>
                <table class="table table-bordered">
                    <tbody>
                        <?php if(is_array($vo['value']) || $vo['value'] instanceof \think\Collection || $vo['value'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['value'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                        <tr>
                            <?php if(is_array($v) || $v instanceof \think\Collection || $v instanceof \think\Paginator): $i = 0; $__LIST__ = $v;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$td): $mod = ($i % 2 );++$i;?>
                            <td><?php echo $td; ?></td>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </tr>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </tbody>
                </table>
                <?php else: ?>
                <?php echo (isset($vo['value']) && ($vo['value'] !== '')?$vo['value']:''); ?>
                <?php endif; ?>
                </td>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            <?php endif; ?>
            </tbody>
        </table>
    </div>
</div>